package com.ruoyi.jjyh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户有效期变动记录对象 jjyh_uservalidays
 * 
 * @author ruoyi
 * @date 2020-12-02
 */
public class JjyhUservalidays extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 用户ID */
    private String userId;

    /** 用户昵称 */
    private String userName;

    /** 有效期（天数） */
    @Excel(name = "有效期", readConverterExp = "天=数")
    private Integer sendDays;

    /** 类型（1连续签1个月，2连续签1年,3购买月卡，4购买年卡） */
    @Excel(name = "类型", readConverterExp = "1=连续签1个月，2连续签1年,3购买月卡，4购买年卡")
    private String sendType;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setSendDays(Integer sendDays) 
    {
        this.sendDays = sendDays;
    }

    public Integer getSendDays() 
    {
        return sendDays;
    }
    public void setSendType(String sendType) 
    {
        this.sendType = sendType;
    }

    public String getSendType() 
    {
        return sendType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("sendDays", getSendDays())
            .append("sendType", getSendType())
            .append("createTime", getCreateTime())
            .toString();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
